/**
 * 文件名：User
 * 版权：Copyright 2017-2022 CMCC All Rights Reserved.
 * 描述：
 */

package com.hand.project.dto;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 *
 *
 *
 * @author shuai.wang02@hand-china.com
 * @version 1.0
 * @date 2018/11/22 19:07
 */

@Component
@ConfigurationProperties(prefix = "my1")
@Data
public class User implements Serializable {

    private static final long serialVersionUID = 1779635718086987136L;
    private  String userName;
    private  String passWord;
    private  String area;

    public User(String userName, String passWord, String area) {
        this.userName = userName;
        this.passWord = passWord;
        this.area = area;
    }

    public User() {
    }
}
